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

Disassembly:
push 0x3dc
mov eax, 0x508cac
call fcn.004c8468
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.0042a4f4
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.004df090
add esp, 0xc
lea ecx, [ebp - 0xa0]
push 0x549010
call fcn.004162a1
mov dword [ebp - 4], ebx
mov eax, dword [0x548f80]
cmp word [eax], bx
jne 0x42a323
test edi, edi
je 0x42a25e
push edi
lea ecx, [ebp - 0xa0]
call fcn.004162d6
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x42a28d
push 0x530f70
jmp 0x42a3b8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x42a2a5
push eax
push str.File_is_empty
jmp 0x42a3b8
cmp edi, 0x400000
jbe 0x42a2b9
push 0
push str.File_too_large
jmp 0x42a3b8
and dword [ebp - 0x14], 0
push edi
call fcn.004c751f
pop ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1b4], 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 - 0x14], edi
je 0x42a305
mov edi, dword [ebp - 0x1b4]
push edi
call fcn.004c7047
pop ecx
mov ecx, esi
call fcn.0042a4f4
push 0
push str.Could_not_read_file
jmp 0x42a3b8
push ecx
push edi
mov edi, dword [ebp - 0x1b4]
mov ecx, esi
push edi
call fcn.0042a162
push edi
mov bl, al
call fcn.004c7047
pop ecx
jmp 0x42a4df
push eax
lea ecx, [ebp - 0xa0]
call fcn.004162d6
cmp byte [0x548ec0], 0
je 0x42a340
mov ebx, dword [0x54d898]
jmp 0x42a3ae
push 0x84
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.004df090
add esp, 0xc
lea ecx, [ebp - 0x1b0]
push 0x548ef8
call fcn.004162a1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b0]
call fcn.0040f3a3
mov ecx, dword [ebp - 0xa0]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x1b4], eax
call fcn.0041cd0f
mov ebx, eax
mov eax, dword [ebp - 0x1b4]
pop ecx
pop ecx
test eax, eax
je 0x42a39f
push eax
call fcn.004c7047
pop ecx
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0
call fcn.004162c6
test ebx, ebx
jne 0x42a3c6
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0042ac35
mov bl, al
jmp 0x42a4df
and dword [ebp - 0x1b4], 0
lea eax, [ebp - 0x128]
push 0x84
push 0
push eax
call fcn.004df090
add esp, 0xc
lea ecx, [ebp - 0x128]
push 0xffffffffffffffff
push edi
call fcn.0041627d
push 0x52e19c
push 0x52b850
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.0041665c
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x1b4]
push eax
push ecx
mov ecx, ebx
call fcn.0041ce15
add esp, 0xc
test eax, eax
je 0x42a436
push 0
push str.Could_not_find_ziped_file
jmp 0x42a4a3
mov edi, dword [ebp - 0x1bc]
test edi, edi
jne 0x42a448
push edi
push str.File_is_empty
jmp 0x42a4a3
cmp edi, 0x400000
jbe 0x42a459
push 0
push str.File_too_large
jmp 0x42a4a3
push edi
call fcn.004c751f
mov edx, dword [ebp - 0x1b4]
pop ecx
push 3
push edi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.0041ce48
add esp, 0xc
test eax, eax
je 0x42a4ae
cmp eax, 0x600
je 0x42a4ae
mov edi, dword [ebp - 0x14]
push edi
call fcn.004c7047
cmp byte [0x548ec0], 0
pop ecx
jne 0x42a49c
mov ecx, ebx
call fcn.0041ce7b
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0042ac35
mov bl, al
jmp 0x42a4d4
cmp byte [0x548ec0], 0
jne 0x42a4be
mov ecx, ebx
call fcn.0041ce7b
push ecx
push edi
mov edi, dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0042a162
push edi
mov bl, al
call fcn.004c7047
pop ecx
lea ecx, [ebp - 0x128]
call fcn.004162c6
lea ecx, [ebp - 0xa0]
call fcn.004162c6
mov al, bl
call fcn.004c8412
ret 8